<template>
  <div class="">
    <el-tabs v-model="activeName" type="card" @tab-click="handleChangeTab">
      <el-tab-pane label="整机商品" name="first">整机商品</el-tab-pane>
      <el-tab-pane label="配件商品" name="second">配件商品</el-tab-pane>
      <el-tab-pane label="其它商品" name="third">其它商品</el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
  export default {
    name: 'InventoryIndex',
    data () {
      return {
        activeName: 'first'
      }
    },
    methods: {
      handleChangeTab: function (tab, event) {
        console.log(tab, event)
      }
    }
  }
</script>

<style scoped>

</style>
